
/**
 * anji-allways.com Inc.
 * Copyright (c) 2016-2017 All Rights Reserved.
 */
package cn.zhiwen.entity;

/**
 * <pre>
 * 返回应答码常量
 * </pre>
 *
 * @author WangGuangYuan
 * @version $Id: RespCode.java, v 0.1 2017年5月9日 下午5:04:33 Administrator Exp $
 */
public final class RespCode {
    /**
     * 0000 成功
     */
    public static final String SUCCESS = "0000";

    /**
     * 0101 - 0199 网关应答码
     */
    public static final String ZUUL_PARM_ERROR = "0101";

    public static final String ZUUL_TIMESTAMP_ERROR = "0102";

    public static final String ZUUL_SIGN_ERROR = "0103";

    public static final String ZUUL_TOKEN_ERROR = "0104";

    public static final String ZUUL_AUTH_ERROR = "0105";

    public static final String ZUUL_COMMON_ERROR = "0106";

    /**
     * 0201 - 9999 业务应答码
     */
    public static final String USER_LOGIN_ERROR = "0201";

    public static final String USER_LOGOUT_ERROR = "0202";

    public static final String USER_NOTEXIST_ERROR = "0203";

    public static final String USER_PARM_ERROR = "0204";

    public static final String USER_EXCEPTION_ERROR = "0205";

    public static final String USER_PASSWORD_ERROR = "0206";

    public static final String USER_TIMEOUT_ERROR = "0207";

    public static final String USER_TELEPHONE_ERROR = "0208";

    public static final String USER_STATUS_ERROR = "0209";

    public static final String USER_CHECK_ERROR = "0210";

    /**
     * 0301 - 0350 角色模块业务应答码
     */
    public static final String ROLE_INSERT_ERROR = "0301";

    public static final String ROLE_UPDATE_ERROR = "0302";

    public static final String ROLE_QUERYNAME_ERROR = "0303";

    public static final String ROLE_DELETE_ERROR = "0304";

    public static final String ROLE_QUERYROLEPAGE_ERROR = "0305";

    public static final String ROLE_QUERYUSER_ERROR = "0306";

    public static final String ROLE_QUERYROLEDETAIL_ERROR = "0307";

    public static final String ROLE_QUERYALLSYS_ERROR = "0308";

    public static final String ROLE_QUERYROLEDICT_ERROR = "0309";

    public static final String ROLE_QUERYAUTH_ERROR = "0310";

    public static final String ROLE_QUERYROLENAME_ERROR = "0311";

    /**
     * 0351 - 0400 日志模块业务应答码
     */

    public static final String LOGINLOG_INSERT_ERROR = "0351";

    public static final String LOGINLOG_QUERY_ERROR = "0352";

    public static final String OPERLOG_INSERT_ERROR = "0353";

    public static final String OPERLOG_QUERY_ERROR = "0354";

    /**
     * 0601 - 0650 组织业务应答码
     */
    public static final String ORG_QUERYORGTREE_ERROR = "0601";

    public static final String ORG_INSERTORG_ERROR = "0602";

    public static final String ORG_QUERYCONDITION_ERROR = "0603";

    public static final String ORG_QUERYONEBYID_ERROR = "0604";

    public static final String ORG_UPDATEORG_ERROR = "0605";

    public static final String ORG_QUERYALL_ERROR = "0606";

    public static final String ORG_UPDATESTATUS_ERROR = "0607";

    public static final String ORG_QUERYONEBYCODE_ERROR = "0608";

    public static final String ORG_CHECKCODE_ERROR = "0609";

    /**
     * 0651 - 0699 部门业务应答码
     */
    public static final String DEPT_INSERTDEPT_ERROR = "0651";

    public static final String DEPT_QUERYALLBYCONDITION_ERROR = "0652";

    public static final String DEPT_QUERYONEBYID_ERROR = "0653";

    public static final String DEPT_UPDATEDEPT_ERROR = "0654";

    public static final String DEPT_UPDATESTATUS_ERROR = "0655";

    public static final String DEPT_QUERYONEBYCODE_ERROR = "0656";

    /**
     * 0660 - 0700 用户模块业务应答码
     */
    public static final String USER_INSERT_ERROR = "0661";

    public static final String USER_UPDATE_ERROR = "0662";

    public static final String USER_QUERYNAME_ERROR = "0663";

    public static final String USER_CHECKOPERNAME_ERROR = "0664";

    public static final String USER_CHECKCHARACTER_ERROR = "0665";

    /**
     * 0801 - 0900 地址库模块业务应答码
     */
    public static final String PROV_INSERT_ERROR = "0801";

    public static final String PROV_DELETE_ERROR = "0802";

    public static final String PROV_UPDATE_ERROR = "0803";

    public static final String PROV_QUERYALL_ERROR = "0804";

    public static final String CITY_INSERT_ERROR = "0805";

    public static final String CITY_DELETE_ERROR = "0806";

    public static final String CITY_UPDATE_ERROR = "0807";

    public static final String CITY_QUERYALL_ERROR = "0808";

    public static final String DIST_INSERT_ERROR = "0809";

    public static final String DIST_DELETE_ERROR = "0810";

    public static final String DIST_UPDATE_ERROR = "0811";

    public static final String DIST_QUERYALL_ERROR = "0812";

    public static final String TOWN_INSERT_ERROR = "0813";

    public static final String TOWN_DELETE_ERROR = "0814";

    public static final String TOWN_UPDATE_ERROR = "0815";

    public static final String TOWN_QUERYALL_ERROR = "0816";

    /**
     * 0990 - 1000 子系统模块业务应答码
     */

    public static final String SYS_DELETEERROR_ERROR = "0991";

    public static final String SYS_DELETEEXCIT_ERROR = "0992";

    public static final String SYS_UPDATE_ERROR = "0993";

    public static final String SYS_ADD_ERROR = "0994";

    public static final String SYS_QUERY_ERROR = "0995";

    public static final String SYS_CHECKNAME_ERROR = "0996";

    /**
     * 0401 - 0449 字典模块业务应答码
     */
    public static final String DICT_INSERT_ERROR = "0401";

    public static final String DICT_QUERYBYTYPEID_ERROR = "0402";

    public static final String DICT_UPDATE_ERROR = "0403";

    public static final String DICT_DELETEBYID_ERROR = "0404";

    public static final String DICT_QUERYBYCONDITION_ERROR = "0405";

    public static final String DICT_QUERYBYID_ERROR = "0406";

    public static final String DICT_QUERYBYCODE_ERROR = "0401";

    /**
     * 0450 - 0499 字典模块业务应答码
     */
    public static final String DICTTYPE_INSERT_ERROR = "0450";

    public static final String DICTTYPE_QUREYALL_ERROR = "0451";

    public static final String DICTTYPE_QUERYBYCODE_ERROR = "0452";

    /**
     * 0701 - 0799 产品模块业务应答码
     */
    public static final String PRODUCT_ADD_ERROR = "0701";
    /**
     * 0501 - 0599 流水号模块业务应答码
     */
    public static final String SERIALNUMBER_TYPE_ERROR = "0501";
    public static final String SERIALNUMBER_NOTYPE_ERROR = "0504";
    public static final String SERIALNUMBER_GET_ERROR = "0502";
    public static final String SERIALNUMBER_ERROR = "0503";

    /**
     * 1001 - 1010 堆场业务应答码
     */

    public static final String YARD_INSERT_ERROR = "1001";

    public static final String YARD_UPDATE_ERROR = "1002";

    public static final String YARD_DELETE_ERROR = "1003";

    public static final String YARD_QUERY_ERROR = "1004";

    public static final String YARD_RENAME_ERROR = "1005";

    /**
     * 1021 - 1020 库区业务应答码
     */

    public static final String AREA_INSERT_ERROR = "1021";

    public static final String AREA_UPDATE_ERROR = "1022";

    public static final String AREA_DELETE_ERROR = "1023";

    public static final String AREA_QUERY_ERROR = "1024";

    /**
     * 1031 - 1040 道位业务应答码
     */

    public static final String LANE_INSERT_ERROR = "1031";

    public static final String LANE_UPDATE_ERROR = "1032";

    public static final String LANE_DELETE_ERROR = "1033";

    public static final String LANE_QUERY_ERROR = "1034";

    /**
     * 1101 - 1110 码头业务应答码
     */

    public static final String PIER_INSERT_ERROR = "1101";

    public static final String PIER_UPDATE_ERROR = "1102";

    public static final String PIER_DELETE_ERROR = "1103";

    public static final String PIER_QUERY_ERROR = "1104";

    public static final String PIER_PARA_ERROR = "1105";

    public static final String PIER_PORTAUTH_CODE_REPEAT_ERROR = "1106";

    public static final String PIER_CHINESE_NAME_REPEAT_ERROR = "1107";

    public static final String PIER_DELETE_IDS_ERROR = "1108";

    /**
     * 1111 - 1120 泊位业务应答码
     */

    public static final String BERTH_INSERT_ERROR = "1111";

    public static final String BERTH_UPDATE_ERROR = "1112";

    public static final String BERTH_DELETE_ERROR = "1113";

    public static final String BERTH_QUERY_ERROR = "1114";

    /**
     * 1121 - 1130 桩位业务应答码
     */

    public static final String STATE_INSERT_ERROR = "1121";

    public static final String STATE_UPDATE_ERROR = "1122";

    public static final String STATE_DELETE_ERROR = "1123";

    public static final String STATE_QUERY_ERROR = "1124";

    /**
     * 1131 - 1140 终端版本业务应答码
     */

    public static final String VERSION_NOTEXIST_ERROR = "1131";

    public static final String VERSION_INCOMPATIBLE_ERROR = "1132";

    public static final String VERSION_COMPATIBLE_ERROR = "1133";

}
